import Request from '@utils/request'

export default {
  // 轮播图
  carousel (params) {
    return Request({
      url: '/banner?type=' + params,
      method: 'GET'
    })
  },
  // 推荐歌单
  recommendSongs (params) {
    return Request({
      url: '/personalized',
      method: 'GET',
      params
    })
  },
  // 推荐新音乐
  recommendNewSong (params) {
    return Request({
      url: '/personalized/newsong',
      method: 'GET',
      params
    })
  },
  // 主播电台
  djProgram (params) {
    return Request({
      url: '/personalized/djprogram',
      method: 'GET',
      params
    })
  }
}